﻿using Coldairarrow.Entity.PB;
using System;
using System.Collections.Generic;
using System.Text;

namespace Coldairarrow.Entity.DTO
{
    /// <summary>
    /// 流转单报工时使用
    /// </summary>
    public class PB_CirculationBillDTO: PB_CirculationBill
    {
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        public string MaterialCode { get; set; }

        /// <summary>
        /// 物料规格
        /// </summary>
        public string MaterialSpec { get; set; }

        /// <summary>
        /// 物料类型
        /// </summary>
        public string MaterialType { get; set; }

        /// <summary>
        /// 成品编码
        /// </summary>
        public string ProductCode { get; set; }

        /// <summary>
        /// 是否为成品
        /// </summary>
        public Boolean? IsProduct { get; set; }

        /// <summary>
        /// 是否序列号管理
        /// </summary>
        public Boolean? IsNumber { get; set; }

        /// <summary>
        /// 每包装包含数量
        /// </summary>
        public Double? PackageNum { get; set; }

        /// <summary>
        /// 剩余统计数量
        /// </summary>
        public Double? StatisticsNums { get; set; }

        /// <summary>
        /// 剩余接收数量
        /// </summary>
        public Double? ReceivingNums { get; set; }

        /// <summary>
        /// 是否是单个物料
        /// </summary>
        public Boolean? IsSingle { get; set; }

        /// <summary>
        /// 设计清单Id
        /// </summary>
        public string DesignId { get; set; }

        /// <summary>
        /// 项目Id
        /// </summary>
        public string ProjectId { get; set; }


    }
    public class PB_CirculationBillDetailDTO : PB_CirculationBill
    {
        /// <summary>
        /// 任务编码
        /// </summary>
        public string TaskCode { get; set; }

        /// <summary>
        /// 任务名称
        /// </summary>
        public string TaskName { get; set; }

        /// <summary>
        /// 半成品编码
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 半成品名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 半成品规格
        /// </summary>
        public string Spec { get; set; }
        /// <summary>
        /// 隶属成品
        /// </summary>
        public string SubordinateProductName { get; set; }
        /// <summary>
        /// 工序
        /// </summary>
        public string ProcedureName { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public string Creator { get; set; }
        
    }
    public class PB_CirculationBillSurplusDTO
    {
        /// <summary>
        /// 半成品编码
        /// </summary>
        public string MaterialCode { get; set; }

        /// <summary>
        /// 半成品名称
        /// </summary>
        public string MaterialName { get; set; }

        /// <summary>
        /// 半成品规格
        /// </summary>
        public string MaterialSpec { get; set; }
        /// <summary>
        /// 托盘名称
        /// </summary>
        public string TrayName { get; set; }

        /// <summary>
        /// 半成品规格
        /// </summary>
        public Double? Nums { get; set; }

    }
}
